From 5df13562957277977cf0a7688c153d58be9e74d3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 19 Jul 2020 21:21:41 -0400 Subject: [PATCH] gsk: Remove an unused debug flag GSK_DEBUG_DIFF was not used anywhere, so remove it. --- gsk/gskdebug.c | 3 +-- gsk/gskdebugprivate.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gsk/gskdebug.c b/gsk/gskdebug.c index 68674b7fed..3538cec0e5 100644 --- a/gsk/gskdebug.c +++ b/gsk/gskdebug.c @@ -11,8 +11,7 @@ static const GdkDebugKey gsk_debug_keys[] = { { "surface", GSK_DEBUG_SURFACE, "Information about surfaces" }, { "fallback", GSK_DEBUG_FALLBACK, "Information about fallbacks" }, { "glyphcache", GSK_DEBUG_GLYPH_CACHE, "Information about glyph caching" }, - { "diff", GSK_DEBUG_DIFF, "Show differences" }, - { "geometry", GSK_DEBUG_GEOMETRY, "Show borders" }, + { "geometry", GSK_DEBUG_GEOMETRY, "Show borders (when using cairo)" }, { "full-redraw", GSK_DEBUG_FULL_REDRAW, "Force full redraws" }, { "sync", GSK_DEBUG_SYNC, "Sync after each frame" }, { "vulkan-staging-image", GSK_DEBUG_VULKAN_STAGING_IMAGE, "Use a staging image for Vulkan texture upload" }, diff --git a/gsk/gskdebugprivate.h b/gsk/gskdebugprivate.h index acf9bf7547..345c1555ab 100644 --- a/gsk/gskdebugprivate.h +++ b/gsk/gskdebugprivate.h @@ -14,7 +14,6 @@ typedef enum { GSK_DEBUG_VULKAN = 1 << 5, GSK_DEBUG_FALLBACK = 1 << 6, GSK_DEBUG_GLYPH_CACHE = 1 << 7, - GSK_DEBUG_DIFF = 1 << 8, /* flags below may affect behavior */ GSK_DEBUG_GEOMETRY = 1 << 9, GSK_DEBUG_FULL_REDRAW = 1 << 10, -- 2.30.2